
fruit ={"苹果":"32.8","香蕉":"12","葡萄":"15.5"}
print(fruit)



data = {"苹果":"32.8","香蕉":"22","葡萄":"15.5"}
a = input("请输入水果名称")
if a in data:
    print("该水果的价格为",data[a])
else:
    print("没有该水果")

